/*package com.health.test;

import static org.junit.Assert.*;

import java.io.IOException;
import java.util.Date;

import org.apache.http.Consts;
import org.apache.http.HttpResponse;
import org.apache.http.ParseException;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.params.HttpParams;
import org.apache.http.util.EntityUtils;
import org.codehaus.jackson.JsonParseException;
import org.codehaus.jackson.map.DeserializationConfig;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.SerializationConfig;
import org.junit.Test;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resource;
import org.springframework.web.context.WebApplicationContext;

import com.health.db.model.ImMsgNotice;
import com.health.db.model.ImMsgNoticeExample;
import com.health.db.model.UserCardIssue;
import com.health.db.model.UserCardList;
import com.health.db.model.UserCardType;
import com.health.db.service.msg.ImMsgNoticeService;
import com.health.db.service.user.IUserCardIssueService;
import com.health.db.service.user.IUserCardListService;
import com.health.db.service.user.IUserLISTService;
import com.health.mapp.bean.ActiveCardResp;
import com.health.mapp.bean.AddAccountResp;
import com.health.mapp.bean.AddPatientResp;
import com.health.mapp.bean.BindWeChatAccountResp;
import com.health.mapp.bean.CancelOrderResp;
import com.health.mapp.bean.CheckSMSResp;
import com.health.mapp.bean.CollectDocResp;
import com.health.mapp.bean.DeleteOrderResp;
import com.health.mapp.bean.DeletePatientResp;
import com.health.mapp.bean.DocLoginResp;
import com.health.mapp.bean.FeedBackResp;
import com.health.mapp.bean.GeneratePreGoodsOrderResp;
import com.health.mapp.bean.GeneratePreOrderResp;
import com.health.mapp.bean.GeneratePreSubOrderResp;
import com.health.mapp.bean.GetOSSTokenResp;
import com.health.mapp.bean.GetPersonalAccessKeyResp;
import com.health.mapp.bean.GetSMSResp;
import com.health.mapp.bean.GetTokenResp;
import com.health.mapp.bean.InitResp;
import com.health.mapp.bean.LoginResp;
import com.health.mapp.bean.LogoutResp;
import com.health.mapp.bean.MessageNotifyResp;
import com.health.mapp.bean.ModifyPasswordResp;
import com.health.mapp.bean.ModifyPatientResp;
import com.health.mapp.bean.ModifyUserIconResp;
import com.health.mapp.bean.ModifyUserNameResp;
import com.health.mapp.bean.PayControllerAliResp;
import com.health.mapp.bean.PayControllerAliWapResp;
import com.health.mapp.bean.PayControllerDocResp;
import com.health.mapp.bean.PayControllerSelfResp;
import com.health.mapp.bean.QueryAccountResp;
import com.health.mapp.bean.QueryAdvertListResp;
import com.health.mapp.bean.QueryAvailableDocListResp;
import com.health.mapp.bean.QueryAvailableTimeResp;
import com.health.mapp.bean.QueryBillResp;
import com.health.mapp.bean.QueryCollectionDocResp;
import com.health.mapp.bean.QueryDocDetailResp;
import com.health.mapp.bean.QueryDocListResp;
import com.health.mapp.bean.QueryEntityGoodsListResp;
import com.health.mapp.bean.QueryLeftTimeResp;
import com.health.mapp.bean.QueryOrderResp;
import com.health.mapp.bean.QueryOrderTimeResp;
import com.health.mapp.bean.QueryPatientResp;
import com.health.mapp.bean.QuerySubOrderResp;
import com.health.mapp.bean.QueryUserResp;
import com.health.mapp.bean.RateOrderResp;
import com.health.mapp.bean.ReceiveOrderResp;
import com.health.mapp.bean.RegisterResp;
import com.health.mapp.bean.UserApplyFinishOrderResp;
import com.health.mapp.bean.UserApplyRefoundResp;
import com.health.mapp.bean.VersionUpdateResp;
import com.health.mapp.service.SpringContextUtil;
import com.health.mapp.utils.DateUtils;
import com.health.mapp.utils.StringUtils;

public class InterfaceTestByJUnit {
	String url1="http://localhost:8080/HealthAppInterface/AppInterfaceService.aspx";
	String url2="http://182.92.175.50:7777/HealthAppInterface/AppInterfaceService.aspx";
	String url="http://182.92.175.50:7777/AppInterface/AppInterfaceService.aspx";
	String successCode="{\"errorCode\":0";
	//phone num
	static String phoneNum="13619613776";
	//Resource rs = new FileSystemResource("D:/workspace/projects/HealthAppInterface/src/spring/spring.xml");
	//BeanFactory factory = new XmlBeanFactory(rs);
	ApplicationContext context = new ClassPathXmlApplicationContext("spring/spring.xml");
	 
	 public static void main(String args[]) 
	 {
		ObjectMapper objectMapper = new ObjectMapper();
		objectMapper.disable(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES);  
		objectMapper.configure(SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS, false);
			
		try
		{
			
		 InterfaceTestByJUnit itj= new InterfaceTestByJUnit();
		 String result="-1";
		 
		 
		 result=itj.init();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.InitResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 InitResp VersionUpdateReq= (InitResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("init:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("init:"+result);
			 }
		 }
		 
		 //版本更新
		 //result= itj.versionUpdate();
		// System.out.println("sss:"+result);
		 
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.VersionUpdateResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 VersionUpdateResp VersionUpdateReq= (VersionUpdateResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("versionUpdate:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("versionUpdate:"+result);
			 }
		 }
		
		 //获取验证码
		// result=itj.getSMS();
		 String  sms="0";
		 
		 if(null!=result && !"".equals(result))
		  {
			 String beanClassName ="com.health.mapp.bean.GetSMSResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GetSMSResp VersionUpdateReq= (GetSMSResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("getSMS:"+result);
				 return;
			 }
			 else
			 {
				 sms=VersionUpdateReq.getSms();
				 System.out.println("getSMS:"+result);
			 }
		 }
		 
		 ImMsgNoticeService imMsgNoticeService = SpringContextUtil.getBean("imMsgNoticeService");
		 String radom = String.valueOf(Math.round(Math.random()*900000+100000));
		 ImMsgNoticeExample notice = new ImMsgNoticeExample();
			notice.setRandom(radom);
			notice.setNoticeReceiveAddress(phoneNum);
			notice.setSendReceiveFlag(Short.valueOf("1"));
			notice.setIsUsedFlag((short) 1);
			notice.setCreateDate(DateUtils.now());
			notice.setModetypeid(Integer.valueOf("1"));
			imMsgNoticeService.insert(notice);
			
			sms=radom;
		 //校验短信码
		 result=itj.checkSMS(sms);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.CheckSMSResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 CheckSMSResp VersionUpdateReq= (CheckSMSResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("checkSMS:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("checkSMS:"+result);
			 }
		 }
		 
		 //注册
		 result= itj.register(sms);
		
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.RegisterResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 RegisterResp VersionUpdateReq= (RegisterResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("register:"+result);
				 return;
			 }
			 else
			 {
				
				 System.out.println("register:"+result);
			 }
		 }
		 //登录 
		 result= itj.login();
		 String  userId="";
		 String  recId="";
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.LoginResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 LoginResp VersionUpdateReq= (LoginResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("login"+result);
				 
				 return;
			 }
			 else
			 {
				 userId=VersionUpdateReq.getUserId();
			 
				 System.out.println("login:userId:"+userId);
				 System.out.println("login:"+result);
			 }
		 }
		//增加病人
		 result= itj.addPatient(userId);
		 String patId="";
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.AddPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 AddPatientResp VersionUpdateReq= (AddPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("addPatient:"+result);
				 return;
			 }
			 else
			 {
				 
				 patId=VersionUpdateReq.getPatId();
				 System.out.println("addPatient:"+result);
			 }
		 }
		 
		 
		 
		 IUserCardIssueService userCardIssueService = SpringContextUtil.getBean("userCardIssueService");
		 UserCardIssue userCardList = new UserCardIssue();
			
			//卡资源表中的数据迁移
		    String cardPasswd="P"+DateUtils.currentDatetime();
			 userCardList.setCardid(DateUtils.millis());
			userCardList.setCardIdno("T"+DateUtils.currentDatetime());
			userCardList.setCardtypeid(1);
			userCardList.setCardName("YYB TEST CARD");
			//userCardList.setOwnerid(userId);
			userCardList.setPassword(cardPasswd);
			userCardList.setIsUsedFlag((short) 1);
			
			
			Date now = DateUtils.now();
			
			userCardList.setActivateDate(now);
			//多少天后失效
			userCardList.setFailureDate(DateUtils.getDateAfter(now,1000));
			//时间
			userCardList.setCreateDate(now);
			userCardList.setUpdateDate(now);
			userCardIssueService.insert(userCardList);
		 
		 
		 //充值
		 result=itj.activeCard(userId,cardPasswd);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ActiveCardResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ActiveCardResp VersionUpdateReq= (ActiveCardResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("activeCard:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("activeCard:"+result);
			 }
		 }
		 //生成订单
		 result= itj.generatePreOrder(patId,userId,"1","8");
		 
		 String orderId1="";
		
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreOrderResp VersionUpdateReq= (GeneratePreOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreOrder:"+result);
				 return;
			 }
			 else
			 {
				 orderId1=VersionUpdateReq.getOrderInfo().getOrderId();
				 
				 System.out.println("generatePreOrder:"+result);
			 }
		 }
		 //查询订单
		 result=itj.queryBill(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryBillResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryBillResp VersionUpdateReq= (QueryBillResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryBill:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryBill:"+result);
			 }
		 }
		 
		 //支付
		 String goodsType1="11";
		 result= itj.payControllerAli(orderId1,goodsType1);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.PayControllerAliResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 PayControllerAliResp VersionUpdateReq= (PayControllerAliResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerAli"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerAli:"+result);
				 
			 }
		 }
		 //取消订单
		 result= itj.cancelOrder(orderId1,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.CancelOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 CancelOrderResp VersionUpdateReq= (CancelOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("cancelOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("cancelOrder:"+result);
			 }
		 }
		 //修改密码
		 result=itj.modifyPassword(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPasswordResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPasswordResp VersionUpdateReq= (ModifyPasswordResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyPassword:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyPassword:"+result);
			 }
		 }
		 //修改病人信息
		 result=itj.modifyPatient(patId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyPatient:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyPatient:"+result);
			 }
		 }
		// result= itj.modifyDocPassword();
		  
		
		 //result=itj.modifyMemberInfo();
		 
		
		 result= itj.modifyUserIcon(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyUserIconResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyUserIconResp VersionUpdateReq= (ModifyUserIconResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyUserIcon:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyUserIcon:"+result);
			 }
		 }
		
		 result=itj.modifyUserName(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyUserNameResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyUserNameResp VersionUpdateReq= (ModifyUserNameResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyUserName:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyUserName:"+result);
			 }
		 }
		 
		 

		 result= itj.queryAccount(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryAccountResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryAccountResp VersionUpdateReq= (QueryAccountResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryAccount:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryAccount:"+result);
			 }
		 }
		
		 result= itj.queryAdvertList();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryAdvertListResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryAdvertListResp VersionUpdateReq= (QueryAdvertListResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryAdvertList:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryAdvertList:"+result);
			 }
		 }
		
		 result= itj.queryDocList();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryDocListResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryDocListResp VersionUpdateReq= (QueryDocListResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryDocList:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryDocList:"+result);
			 }
		 }
		
		 result= itj.queryAvailableDocList();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryAvailableDocListResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryAvailableDocListResp VersionUpdateReq= (QueryAvailableDocListResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryAvailableDocList:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryAvailableDocList:"+result);
			 }
		 }
		
		 result= itj.queryAvailableTime();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryAvailableTimeResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryAvailableTimeResp VersionUpdateReq= (QueryAvailableTimeResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryAvailableTime:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryAvailableTime:"+result);
			 }
		 }
		
		 result= itj.queryCollectionDoc(userId);
		 String docId="";
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryCollectionDocResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryCollectionDocResp VersionUpdateReq= (QueryCollectionDocResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryCollectionDoc:"+result);
				 return;
			 }
			 else
			 {   if(null!=VersionUpdateReq.getDocList() && VersionUpdateReq.getDocList().size()>0)
			 	{
				 docId=VersionUpdateReq.getDocList().get(0).getDocId();
			 	}
				
				 System.out.println("queryCollectionDoc:"+result);
			 }
		 }
		
		 if(!"".equals(docId))
		 {
			 result= itj.queryDocDetail(docId,userId);
			 if(null!=result && !"".equals(result))
			 {
				 String beanClassName ="com.health.mapp.bean.QueryDocDetailResp";
				 Class<?> reqClass = Class.forName(beanClassName);
				 QueryDocDetailResp VersionUpdateReq= (QueryDocDetailResp) objectMapper.readValue(result, reqClass);
				 long resultCode=VersionUpdateReq.getErrorCode();
				 if(resultCode!=0)
				 {
					 System.out.println("queryDocDetail:"+result);
					 return;
				 }
				 else
				 {
					 System.out.println("queryDocDetail:"+result);
				 }
			 } 
		 }
		
		
		 result= itj.queryEntityGoodsList();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryEntityGoodsListResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryEntityGoodsListResp VersionUpdateReq= (QueryEntityGoodsListResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryEntityGoodsList:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryEntityGoodsList:"+result);
			 }
		 }
		 result= itj.getOSSToken();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GetOSSTokenResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GetOSSTokenResp VersionUpdateReq= (GetOSSTokenResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("getOSSToken:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("getOSSToken:"+result);
			 }
		 }
		
		 result= itj.getPersonalAccessKey(userId);
		 if(null!=result && !"".equals(result) )
		 {
			 String beanClassName ="com.health.mapp.bean.GetPersonalAccessKeyResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 System.out.println("getPersonalAccessKey:"+result);
			 GetPersonalAccessKeyResp VersionUpdateReq= (GetPersonalAccessKeyResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0 )
			 {
				 System.out.println("getPersonalAccessKey:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("getPersonalAccessKey:"+result);
			 }
		 }
		
//		 
		 //生成订单
		 
		 result= itj.generatePreOrder(patId,userId,"3","4");
		 String orderId2="";
		
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreOrderResp VersionUpdateReq= (GeneratePreOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreOrder:"+result);
				 return;
			 }
			 else
			 {
				 orderId2=VersionUpdateReq.getOrderInfo().getOrderId();
				 
				 System.out.println("generatePreOrder:"+result);
			 }
		 }
		 result= itj.queryLeftTime(orderId2);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryLeftTimeResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryLeftTimeResp VersionUpdateReq= (QueryLeftTimeResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0 && resultCode!=-3007)
			 {
				 System.out.println("queryLeftTime:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryLeftTime:"+result);
			 }
		 }
		
		
		 result= itj.queryOrder(userId,orderId1);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryOrderResp VersionUpdateReq= (QueryOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryOrder:"+result);
			 }
		 }
		
		 result= itj.queryOrderTime(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryOrderTimeResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryOrderTimeResp VersionUpdateReq= (QueryOrderTimeResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryOrderTime:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryOrderTime:"+result);
			 }
		 }
		
		 result= itj.queryPatient(userId,patId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryPatientResp VersionUpdateReq= (QueryPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryPatient:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryPatient:"+result);
			 }
		 }
		
		 result= itj.querySubOrder();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QuerySubOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QuerySubOrderResp VersionUpdateReq= (QuerySubOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("querySubOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("querySubOrder:"+result);
			 }
		 }
		
		 result= itj.queryUser(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.QueryUserResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 QueryUserResp VersionUpdateReq= (QueryUserResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("queryUser:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("queryUser:"+result);
			 }
		 }
		 
		
		 
 
		
		 result=itj.addAccount();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.AddAccountResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 AddAccountResp VersionUpdateReq= (AddAccountResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("addAccount:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("addAccount:"+result);
			 }
		 }
		
		 
		 result=itj.bindWeChatAccount();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.BindWeChatAccountResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 BindWeChatAccountResp VersionUpdateReq= (BindWeChatAccountResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("bindWeChatAccount:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("bindWeChatAccount:"+result);
			 }
		 }
		
		 docId="69";
		 result=itj.collectDoc(docId,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.CollectDocResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 CollectDocResp VersionUpdateReq= (CollectDocResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("collectDoc:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("collectDoc:"+result);
			 }
		 }
		
		
		 result= itj.docLogin();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.DocLoginResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 DocLoginResp VersionUpdateReq= (DocLoginResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("docLogin:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("docLogin:"+result);
			 }
		 }
		
		 
		 result= itj.docWeChatLogin();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyPatient:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyPatient:"+result);
			 }
		 }
		 
		
		 result= itj.feedBack(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.FeedBackResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 FeedBackResp VersionUpdateReq= (FeedBackResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("feedBack:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("feedBack:"+result);
			 }
		 }
		
		 result= itj.generatePreGoodsOrder(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreGoodsOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreGoodsOrderResp VersionUpdateReq= (GeneratePreGoodsOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreGoodsOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("generatePreGoodsOrder:"+result);
			 }
		 }
		
		 result= itj.generatePreSubOrder(orderId1,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreSubOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreSubOrderResp VersionUpdateReq= (GeneratePreSubOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreSubOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("generatePreSubOrder:"+result);
			 }
		 }
		 result= itj.processOrder(orderId1);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0  &&  resultCode!=-4001)
			 {
				 System.out.println("processOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("processOrder:"+result);
			 }
		 }
		 result= itj.getCashApply();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0 && resultCode!=-9999)
			 {
				 System.out.println("getCashApply:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("getCashApply:"+result);
			 }
		 }
		
		 result= itj.getCommHistory();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("getCommHistory:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("getCommHistory:"+result);
			 }
		 }
		
		
		
		 result= itj.getVideoPlayAuth();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("getVideoPlayAuth:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("getVideoPlayAuth:"+result);
			 }
		 }
		
		
		
		 result=itj.messageNotify(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.MessageNotifyResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 MessageNotifyResp VersionUpdateReq= (MessageNotifyResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("messageNotify:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("messageNotify:"+result);
			 }
		 }
		 //生成订单
		// result= itj.generatePreOrder(patId,userId,"1","8");
		 result= itj.generatePreOrder免费导诊(patId,userId,"1","8");
		 String orderId2="";
		
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreOrderResp VersionUpdateReq= (GeneratePreOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreOrder免费导诊:"+result);
				 return;
			 }
			 else
			 {
				 orderId2=VersionUpdateReq.getOrderInfo().getOrderId();
				 
				 System.out.println("generatePreOrder免费导诊:"+result);
			 }
		 }
		
		
		 result= itj.payControllerAliWap(orderId2);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.PayControllerAliWapResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 PayControllerAliWapResp VersionUpdateReq= (PayControllerAliWapResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerAliWap:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerAliWap:"+result);
			 }
		 }
		 result= itj.cancelOrder(orderId2,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.CancelOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 CancelOrderResp VersionUpdateReq= (CancelOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("cancelOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("cancelOrder:"+result);
			 }
		 }
		 
		
		 
		 result= itj.payControllerDoc(orderId3,docId,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.PayControllerDocResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 PayControllerDocResp VersionUpdateReq= (PayControllerDocResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerDoc:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerDoc:"+result);
			 }
		 }
		 
		 //生成订单
		// result= itj.generatePreOrder(patId,userId,"1","8");
		 result= itj.generatePreOrder送药挂号(patId,userId,"1","8");
		 String orderId4="";
		
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreOrderResp VersionUpdateReq= (GeneratePreOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreOrder送药挂号:"+result);
				 return;
			 }
			 else
			 {
				 orderId4=VersionUpdateReq.getOrderInfo().getOrderId();
				 
				 System.out.println("generatePreOrder送药挂号:"+result);
			 }
		 }
		 result= itj.payControllerSelf(orderId4,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.PayControllerSelfResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 PayControllerSelfResp VersionUpdateReq= (PayControllerSelfResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerSelf:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerSelf:"+result);
			 }
		 }
		 result=itj.receiveOrder(orderId4,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ReceiveOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ReceiveOrderResp VersionUpdateReq= (ReceiveOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("receiveOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("receiveOrder:"+result);
			 }
		 }
		 result= itj.userApplyFinishOrder(orderId4,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.UserApplyFinishOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 UserApplyFinishOrderResp VersionUpdateReq= (UserApplyFinishOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("userApplyFinishOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("userApplyFinishOrder:"+result);
			 }
		 }
		
		 result= itj.rateOrder(orderId4,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.RateOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 RateOrderResp VersionUpdateReq= (RateOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("rateOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("rateOrder:"+result);
			 }
		 }
		
		 result=itj.deleteOrder(orderId4);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.DeleteOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 DeleteOrderResp VersionUpdateReq= (DeleteOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("deleteOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("deleteOrder:"+result);
			 }
		 }
		
		
		 result= itj.payControllerWX(orderId2);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerWX:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerWX:"+result);
			 }
		 }
		
		 
		 result= itj.payControllerWXH5(orderId2);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerWXH5:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerWXH5:"+result);
			 }
		 }
		
		 
	
		
		
		 result= itj.registerForPartner();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("registerForPartner:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("registerForPartner:"+result);
			 }
		 }
		 
		
		 
		 result= itj.registerForWX();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyPatient:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyPatient:"+result);
			 }
		 }
		 
		
		 result= itj.removeAccount();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyPatient:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyPatient:"+result);
			 }
		 }
		
		 
		 result= itj.socialLogin();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyPatient:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyPatient:"+result);
			 }
		 }
		
		
		 
		
		 result= itj.verifyCode();
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ModifyPatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ModifyPatientResp VersionUpdateReq= (ModifyPatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("modifyPatient:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("modifyPatient:"+result);
			 }
		 }
		 
		
		
		 result=itj.deletePatient(patId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.DeletePatientResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 DeletePatientResp VersionUpdateReq= (DeletePatientResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("deletePatient:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("deletePatient:"+result);
			 }
		 }
		
		 
		 
		 result= itj.generatePreOrder快问快答(patId,userId,"1","8");
		 String  orderId91="";
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreOrderResp VersionUpdateReq= (GeneratePreOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreOrder快问快答:"+result);
				 return;
			 }
			 else
			 {
				 orderId91=VersionUpdateReq.getOrderInfo().getOrderId();
				 
				 System.out.println("generatePreOrder快问快答:"+result);
			 }
		 }
		 result= itj.payControllerSelf(orderId91,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.PayControllerSelfResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 PayControllerSelfResp VersionUpdateReq= (PayControllerSelfResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerSelf:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerSelf:"+result);
			 }
		 }
		 result=itj.receiveOrder(orderId91,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ReceiveOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ReceiveOrderResp VersionUpdateReq= (ReceiveOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("receiveOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("receiveOrder:"+result);
			 }
		 }
		 result= itj.userApplyFinishOrder(orderId91,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.UserApplyFinishOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 UserApplyFinishOrderResp VersionUpdateReq= (UserApplyFinishOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("userApplyFinishOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("userApplyFinishOrder:"+result);
			 }
		 }
		
		 result= itj.rateOrder(orderId91,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.RateOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 RateOrderResp VersionUpdateReq= (RateOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("rateOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("rateOrder:"+result);
			 }
		 }
		
		 result=itj.deleteOrder(orderId91);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.DeleteOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 DeleteOrderResp VersionUpdateReq= (DeleteOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("deleteOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("deleteOrder:"+result);
			 }
		 }
		 result= itj.generatePreOrder专家咨询(patId,userId,"1","8");
		 String  orderId92="";
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreOrderResp VersionUpdateReq= (GeneratePreOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreOrder专家咨询:"+result);
				 return;
			 }
			 else
			 {
				 orderId92=VersionUpdateReq.getOrderInfo().getOrderId();
				 
				 System.out.println("generatePreOrder专家咨询:"+result);
			 }
		 }
		 result= itj.payControllerSelf(orderId92,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.PayControllerSelfResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 PayControllerSelfResp VersionUpdateReq= (PayControllerSelfResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerSelf:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerSelf:"+result);
			 }
		 }
		 result=itj.receiveOrder(orderId92,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ReceiveOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ReceiveOrderResp VersionUpdateReq= (ReceiveOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("receiveOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("receiveOrder:"+result);
			 }
		 }
		 result= itj.userApplyFinishOrder(orderId92,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.UserApplyFinishOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 UserApplyFinishOrderResp VersionUpdateReq= (UserApplyFinishOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("userApplyFinishOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("userApplyFinishOrder:"+result);
			 }
		 }
		
		 result= itj.rateOrder(orderId92,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.RateOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 RateOrderResp VersionUpdateReq= (RateOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("rateOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("rateOrder:"+result);
			 }
		 }
		
		 result=itj.deleteOrder(orderId92);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.DeleteOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 DeleteOrderResp VersionUpdateReq= (DeleteOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("deleteOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("deleteOrder:"+result);
			 }
		 }
		 result= itj.generatePreOrder视屏预约(patId,userId,"1","8");
		 String  orderId93="";
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreOrderResp VersionUpdateReq= (GeneratePreOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreOrder视屏预约:"+result);
				 return;
			 }
			 else
			 {
				 orderId93=VersionUpdateReq.getOrderInfo().getOrderId();
				 
				 System.out.println("generatePreOrder视屏预约:"+result);
			 }
		 }
		 result= itj.payControllerSelf(orderId93,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.PayControllerSelfResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 PayControllerSelfResp VersionUpdateReq= (PayControllerSelfResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerSelf:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerSelf:"+result);
			 }
		 }
		 result=itj.receiveOrder(orderId93,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ReceiveOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ReceiveOrderResp VersionUpdateReq= (ReceiveOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("receiveOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("receiveOrder:"+result);
			 }
		 }
		 result= itj.userApplyFinishOrder(orderId93,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.UserApplyFinishOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 UserApplyFinishOrderResp VersionUpdateReq= (UserApplyFinishOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("userApplyFinishOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("userApplyFinishOrder:"+result);
			 }
		 }
		
		 result= itj.rateOrder(orderId93,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.RateOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 RateOrderResp VersionUpdateReq= (RateOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("rateOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("rateOrder:"+result);
			 }
		 }
		
		 result=itj.deleteOrder(orderId93);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.DeleteOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 DeleteOrderResp VersionUpdateReq= (DeleteOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("deleteOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("deleteOrder:"+result);
			 }
		 }
		 result= itj.generatePreOrder专家讲堂(patId,userId,"1","8");
		 
		 String  orderId94="";
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.GeneratePreOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 GeneratePreOrderResp VersionUpdateReq= (GeneratePreOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("generatePreOrder专家讲堂:"+result);
				 return;
			 }
			 else
			 {
				 orderId94=VersionUpdateReq.getOrderInfo().getOrderId();
				 
				 System.out.println("generatePreOrder专家讲堂:"+result);
			 }
		 }
		 result= itj.payControllerSelf(orderId94,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.PayControllerSelfResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 PayControllerSelfResp VersionUpdateReq= (PayControllerSelfResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("payControllerSelf:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("payControllerSelf:"+result);
			 }
		 }
		 result=itj.receiveOrder(orderId94,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.ReceiveOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 ReceiveOrderResp VersionUpdateReq= (ReceiveOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("receiveOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("receiveOrder:"+result);
			 }
		 }
		 result= itj.userApplyFinishOrder(orderId94,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.UserApplyFinishOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 UserApplyFinishOrderResp VersionUpdateReq= (UserApplyFinishOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("userApplyFinishOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("userApplyFinishOrder:"+result);
			 }
		 }
		
		 result= itj.rateOrder(orderId94,userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.RateOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 RateOrderResp VersionUpdateReq= (RateOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("rateOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("rateOrder:"+result);
			 }
		 }
		
		 result=itj.deleteOrder(orderId94);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.DeleteOrderResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 DeleteOrderResp VersionUpdateReq= (DeleteOrderResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("deleteOrder:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("deleteOrder:"+result);
			 }
		 }
		 result= itj.logout(userId);
		 if(null!=result && !"".equals(result))
		 {
			 String beanClassName ="com.health.mapp.bean.LogoutResp";
			 Class<?> reqClass = Class.forName(beanClassName);
			 LogoutResp VersionUpdateReq= (LogoutResp) objectMapper.readValue(result, reqClass);
			 long resultCode=VersionUpdateReq.getErrorCode();
			 if(resultCode!=0)
			 {
				 System.out.println("logout:"+result);
				 return;
			 }
			 else
			 {
				 System.out.println("logout:"+result);
			 }
		 }
		
		
		}
		 
		 catch(Exception e)
		 {
			 e.printStackTrace();
		 }
		 
	 }
			  
			  
	
	public String addAccount() {
		String reqStr="appId=12345679&version=1.0&method=addAccount&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	
	public String bindWeChatAccount() {
		String reqStr="appId=12345679&version=1.0&method=bindWeChatAccount&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	 
	public String docWeChatLogin() {
		String reqStr="appId=12345679&version=1.0&method=docWeChatLogin&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	public String generatePreGoodsOrder(String userId) {
		String reqStr="appId=12345679&version=1.0&method=generatePreGoodsOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000{\"businessCode\":0,\"userId\":"+userId+",\"goodsId\":13}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	public String generatePreSubOrder(String order,String userId) {
		String reqStr="appId=12345679&version=1.0&method=generatePreSubOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000{\"subOrderType\":0,\"type\":0,\"userId\":"+userId+",\"orderId\":"+order+"}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	public String getVideoPlayAuth() {
		String reqStr="appId=12345679&version=1.0&method=getVideoPlayAuth&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	public String messageNotify(String userId) {
		String reqStr="appId=12345679&version=1.0&method=messageNotify&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000{\"docId\":31,\"userId\":"+userId+",\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	public String payControllerAliWap(String orderId) {
		String reqStr="appId=12345679&version=1.0&method=payControllerAliWap&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000{\"orderId\":"+orderId+",\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	public String payControllerWXH5(String orderId) {
		String reqStr="appId=12345679&version=1.0&method=payControllerWXH5&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	public String queryEntityGoodsList() {
		String reqStr="appId=12345679&version=1.0&method=queryEntityGoodsList&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000{\"goodsType\":11}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	public String querySubOrder() {
		String reqStr="appId=12345679&version=1.0&method=querySubOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	public String registerForPartner() {
			String reqStr="appId=12345679&version=1.0&method=registerForPartner&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
			String result=sendPostHttp(url,reqStr);
		    return result;
	}
	public String registerForWX() {
		String reqStr="appId=12345679&version=1.0&method=registerForWX&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	 
	public String removeAccount() {
		String reqStr="appId=12345679&version=1.0&method=removeAccount&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
	
	public String socialLogin() {
		String reqStr="appId=12345679&version=1.0&method=socialLogin&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000000{\"docId\":31,\"userId\":31,\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	    return result;
	}
 
	 
	public String addPatient(String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=addPatient&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000000{\"userId\":"+userId+",\"patName\":\"华华\",\"patSex\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
	
	
	public String appShared() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=appShared&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000{\"userID\":179,\"patName\":\"华华\",\"patSex\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	
	public String cancelOrder(String orderId,String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=cancelOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000000000000{\"userId\":"+userId+",\"orderId\":"+orderId+",\"flag\":1}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String checkSMS(String sms) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=checkSMS&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000000000{\"userPhone\":\""+phoneNum+"\",\"sms\":\""+sms+"\"}";
		String result=sendPostHttp(url,reqStr);
	    return result;
		
		
	} 
		
	 
	public String collectDoc(String docId,String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=collectDoc&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000000{\"docId\":"+docId+",\"userId\":"+userId+",\"collectType\":0}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String deletePatient(String patId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=deletePatient&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000{\"patId\":"+patId+"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String docLogin() {
	 
	
		String reqStr="appId=12345679&version=100&method=docLogin&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=00000000000000000000000000{\"userPhone\":\"13405851953\",\"password\":\"123456\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String generatePreOrder(String patId,String userId ,String orderType,String goodsId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=generatePreOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000000000000{\"patId\":"+patId+",\"userId\":"+userId+",\"orderType\":"+orderType+",\"freeType\":1,\"contactTel\":\"13512345678\",\"orderTimeSolt\":\"10\",\"scheduleTime\":\"2017-11-23 17:30\",\"orderTime\":30,\"treatDocId\":69,\"reatDocName\":null,\"departmentId\":14,\"departmentName\":\"1111\",\"patDescribe\":\"是是是\",\"patPage1\":null,\"patPage2\":null,\"patPage3\":null,\"patPage4\":null,\"patPager5\":null,\"patPage6\":null,\"hospitalId\":2,\"goodsId\":"+goodsId+",\"channel\":1}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
	public String generatePreOrder专家讲堂(String patId,String userId ,String orderType,String goodsId) {
		 
		
		String reqStr="appId=12345679&version=1.0&method=queryVoiceOnDemondList&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000{\"docId\":60}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
    public String generatePreOrder免费导诊(String patId,String userId ,String orderType,String goodsId) {
		 
		
		String reqStr="appId=10001&version=3.5.1&method=generatePreOrder&timestamp=20170707142444&uuId=ffffffff-884a-6ca3-ffff-fffff5f79dfa&sign=099C59C1EBAF1EA860DB68FAE29012EC&lang=zh-hans&fill=0000000000000000000{\"patId\":\""+patId+"\",\"userId\":\""+userId+"\",\"hospitalId\":\"2\",\"patDescribe\":\"1234567890000000\",\"orderType\":\"1\",\"type\":\"1\",\"channel\":\"1\",\"freeType\":\"0\"}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
 public String generatePreOrder送药挂号(String patId,String userId ,String orderType,String goodsId) {
		 
		
		String reqStr="appId=10001&version=3.5.1&method=generatePreOrder&timestamp=20170707142536&uuId=ffffffff-884a-6ca3-ffff-fffff5f79dfa&sign=0F71A9B41D0951C7377D514CEBD7C1EF&lang=zh-hans&fill=0000000000000000000{\"orderType\":\"4\",\"channel\":\"4\",\"type\":\"4\",\"userId\":\""+userId+"\",\"hospitalId\":\"2\",\"freeType\":\"0\"}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
 public String generatePreOrder快问快答(String patId,String userId ,String orderType,String goodsId) {
	 
		
		String reqStr="appId=10001&version=3.5.1&method=generatePreOrder&timestamp=20170707142536&uuId=ffffffff-884a-6ca3-ffff-fffff5f79dfa&sign=0F71A9B41D0951C7377D514CEBD7C1EF&lang=zh-hans&fill=0000000000000000000{\"orderType\":\"4\",\"channel\":\"4\",\"type\":\"4\",\"userId\":\""+userId+"\",\"hospitalId\":\"2\",\"freeType\":\"0\"}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
 public String generatePreOrder专家咨询(String patId,String userId ,String orderType,String goodsId) {
	 
		
		String reqStr="appId=10001&version=3.5.1&method=generatePreOrder&timestamp=20170707142202&uuId=ffffffff-884a-6ca3-ffff-fffff5f79dfa&sign=208244E1A6B4BE38678D5075A8EE3D63&lang=zh-hans&fill=0000000000000000000{\"treatDocId\":\"69\",\"userId\":\""+userId+"\",\"hospitalId\":\"2\",\"goodsId\":\"8\",\"departmentName\":\"综合科\",\"patDescribe\":\"12345678900000000\",\"treatDocName\":\"首儿健康\",\"departmentId\":\"15\",\"freeType\":\"1\",\"patId\":\""+patId+"\",\"orderType\":\"1\",\"type\":\"1\",\"channel\":\"2\",\"patName\":\"测试\"}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
 public String generatePreOrder视屏预约(String patId,String userId ,String orderType,String goodsId) {
	 
		
		String reqStr="appId=10001&version=3.5.1&method=generatePreOrder&timestamp=20170707142353&uuId=ffffffff-884a-6ca3-ffff-fffff5f79dfa&sign=1BB9491D4921885E784D2CFFEB967EF0&lang=zh-hans&fill=0000000000000000000{\"treatDocId\":\"69\",\"userId\":\""+userId+"\",\"hospitalId\":\"2\",\"goodsId\":\"4\",\"departmentName\":\"综合科\",\"patDescribe\":\"12345678900\",\"orderTimeSolt\":\"36\",\"treatDocName\":\"首儿健康\",\"departmentId\":\"15\",\"freeType\":\"1\",\"orderDate\":\"2017-07-07\",\"scheduleTime\":\"2017-07-07 17:30\",\"patId\":\""+patId+"\",\"orderType\":\"3\",\"type\":\"1\",\"channel\":\"6\",\"patName\":\"测试\"}";
		
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
 
	public String getCashApply() {
	 
	
		String reqStr="uuId=62E0D633-1214-4CF3-824B-465A5EC31E0F&method=getCashApply&lang=zh-Hans&appId=12345679&version=3.0&sign=2976b2f3db9530e0de8097c1c912550f&timestamp=20170208115047&fill=0000000000000000000000{  \"docId\" : \"31\",  \"getCashAmount\" : \"75.00\"}";	
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String getPersonalAccessKey(String  userId) {
	 
	
		String reqStr="appId=12345679&version=100&method=getPersonalAccessKey&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=00000000000000{\"userId\":\""+userId+"\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String getOSSToken() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=getOSSToken&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000000{\"userId\":31}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String getSMS() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=getSMS&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000000{\"userPhone\":\""+phoneNum+"\",\"channel\":1}";
		String result=sendPostHttp(url,reqStr);
	    return result;
		
		
	}
	public String getToken() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=getToken&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000000000000000{\"userId\":179}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
	}
	public String gpsLocation() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=gpsLocation&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000000{\"userID\":179,\"patName\":\"华华\",\"patSex\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
		return result;
		
		
	}
	public String invitePerson() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=invitePerson&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000{\"userID\":179,\"patName\":\"华华\",\"patSex\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	 
	public String login() {
	 
	
		String reqStr="appId=12345679&version=100&method=login&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=00000000000000000000000000000{\"userPhone\":\""+phoneNum+"\",\"password\":\"123456\"}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
		
	}
	public String logout(String userId) {
	 
	
		String reqStr="appId=12345679&version=100&method=logout&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=0000000000000000000000000000{\"userId\":\""+userId+"\",\"password\":\"123456\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String modifyMemberInfo() {
	 
	
		String reqStr="appId=12345679&version=100&method=modifyMemberInfo&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=000000000000000000{\"recid\":\"13619613776\",\"userName\":\"杨银波\",\"password\":\"123456\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
	}
	public String modifyPassword(String  userid) {
	 
	
		String reqStr="appId=12345679&version=100&method=modifyPassword&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=00000000000000000000{\"userId\":\""+userid+"\",\"userPhone\":\""+phoneNum+"\",\"oldPassword\":\"123456\",\"loginFlag\":\"1\",\"operType\":\"1\",\"password\":\"1234156\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String modifyPatient(String patId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=modifyPatient&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000{\"patId\":"+patId+",\"patName\":\"华华话\",\"patSex\":1,\"patBirthday\":\"2017-01-02\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String modifyUserIcon(String  userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=modifyUserIcon&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000{\"userId\":\""+userId+"\",\"iconUrl\":\"13810570675\",\"iconFile\":\"/icon_url\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String modifyUserName(String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=modifyUserName&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000{\"userId\":\""+userId+"\",\"userName\":\"哈哈哈\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String payControllerAli(String  orderId,String goodsType) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=payControllerAli&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000{\"orderId\":\""+orderId+"\",\"goodsType\":\""+goodsType+"\"}";		
		String result=sendPostHttp(url,reqStr);
	  
		
		 return result;
		
		
	}
	public String payControllerWX(String orderId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=payControllerWX&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000{\"orderId\":\"166\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
	}
	public String payControllerSelf(String orderId,String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=payControllerSelf&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000{\"payType\":\"1\",\"orderId\":\""+orderId+"\",\"type\":\"1\",\"userId\":\""+userId+"\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryBill(String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryBill&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000{\"userId\":\""+userId+"\",\"pageNo\":\"1\",\"pageNum\":\"5\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryCollectionDoc(String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryCollectionDoc&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000{\"userId\":"+userId+"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryDocDetail(String docId,String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryDocDetail&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000000000{\"docId\":"+docId+",\"userId\":"+userId+"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryDocList() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryDocList&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000000000000000{\"departmentId\":\"2\", \"sortType\":\"1\",\"pageNum\":5, \"pageNo\":1}  ";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
	}
	public String queryOrder(String userId,String orderId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000000000000000000{\"pageNo\":1,\"pageNum\":5,\"orderType\":1,\"userId\":"+userId+",\"orderState\":1,\"orderId\":"+orderId+"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryPatient(String userId,String patId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryPatient&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000{\"patId\":"+patId+",\"userId\":"+userId+",\"memberId\":73}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
	}
	public String queryUser(String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryUser&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000{\"userId\":\""+userId+"\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String rateOrder(String orderId,String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=rateOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000{\"userId\":"+userId+",\"orderId\":\""+orderId+"\", \"docId\":\"13\", \"describe\":\"非常满意\",\"star\":\"5\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
	}
	public String receiveOrder(String orderId,String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=receiveOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000000000000000{\"orderId\":"+orderId+",\"userId\":"+userId+",\"docId\":69,\"type\":1}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
 
	public String register(String sms) {
	 
	 
		
		String reqStr="appId=12345679&version=100&method=register&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=00000000000000000000000000{\"userPhone\":\""+phoneNum+"\",\"userName\":\"杨银波\",\"password\":\"123456\"}";
		String result=sendPostHttp(url,reqStr);
	 
		 return result;
		
	}
	public String verifyCode() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=verifyCode&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000000{\"userID\":179,\"patName\":\"华华\",\"patSex\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String  versionUpdate() {
	 
	
		String reqStr="appId=12345679&version=100&method=versionUpdate&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=000000000000000000000{\"mdn\":\""+phoneNum+"\",\"password\":\"1234567\",\"uuid\":\"1231123\",\"os\":0,\"location\":\"010\",\"currentVersion\":\"3.3.1\",\"flag\":\"1\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String deleteOrder(String orderId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=deleteOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000000{\"userId\":489175,\"orderId\":\""+orderId+"\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String init() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=init&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000000000000{\"userID\":179}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String modifyDocPassword(String Recid) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=modifyDocPassword&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000{\"recid\":"+Recid+",\"memberName\":\"华华\",\"password\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String userApplyFinishOrder(String orderId,String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=userApplyFinishOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000000{\"orderId\":"+orderId+",\"userId\":"+userId+"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String userApplyRefound(String userId,String orderId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=userApplyRefound&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000{\"userId\":"+userId+",\"orderId\":\""+orderId+"\",\"patSex\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String feedBack(String userId) {
	 
	
		String reqStr="appId=12345679&version=100&method=feedBack&timestamp=20121212154843&uuId=0e3ca914-2e4b-42aa-a65c-79390944b5a7&sign=08C3B076BF5F3A84A0649CC52D368B1A&lang=zh-Hans&fill=00000000000000000000000000{\"userId\":\""+userId+"\",\"feekDesc\":\"123456\",\"feekFile\":\"ddddd\",\"feekPhone\":\"13333333333\",\"feekEmail\":\"1444444@qq.com\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String getCommHistory() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=getCommHistory&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000{\"pageNo\":1,\"pageNum\":\"10\", \"orderId\":\"33\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryLeftTime(String orderId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryLeftTime&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000{\"orderId\":\""+orderId+"\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	
	
	public String processOrder(String orderId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=processOrder&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000{\"orderId\":\""+orderId+"\",\"patId\":\"78\",\"docId\":\"75\",\"startTime\":\"2017-02-15 08:20\",\"endTime\":\"2017-02-15 08:30\",\"consultCount\":\"1\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
	}
	public String queryOrderTime(String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryOrderTime&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans00000000000{\"docId\":\""+userId+"\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryAccount(String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryAccount&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000000{\"userId\":"+userId+",\"patName\":\"华华\",\"patSex\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String activeCard(String userId,String cardCode) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=activeCard&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000000000{\"userId\":"+userId+",\"cardCode\":\""+cardCode+"\",\"channel\":2,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
	 
		return result;
		
		
	}
	public String queryAvailableTime() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryAvailableTime&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000{\"userID\":179,\"patName\":\"华华\",\"patSex\":0,\"patBirthday\":\"2017-01-01\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryAvailableDocList() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryAvailableDocList&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000{\"orderDate\":\"2018-10-10\",\"solt\":\"1\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String payControllerDoc(String orderId,String docId,String userId) {
	 
	
		String reqStr="appId=12345679&version=1.0&method=payControllerDoc&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans000000000{\"userId\":"+userId+",\"orderId\":"+orderId+",\"docId\":\""+docId+"\",\"type\":1,\"cardType\":\"4\"  ,\"payType\":\"0\"}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	public String queryAdvertList() {
	 
	
		String reqStr="appId=12345679&version=1.0&method=queryAdvertList&timestamp=20121212154843&uuId=05ae94531ed53d89ff5da71d6f2ad780366a4eb9&memberid=1&sign=2976b2f3db9530e0de8097c1c912550f&lang=zh-Hans0000000000{\"postionId\":1,\"pageNo\":1,\"pageNum\":15}";
		String result=sendPostHttp(url,reqStr);
	 
		return result;
		
		
	}
	@SuppressWarnings("deprecation")
	public String sendPostHttp(String url, String message) {
		if (StringUtils.isBlank(message)) {

			return "-1";
		}

		HttpParams httpParameters = new BasicHttpParams();
		HttpConnectionParams.setConnectionTimeout(httpParameters, 10 * 1000);// 设置请求超时10秒
		HttpConnectionParams.setSoTimeout(httpParameters, 10 * 1000); // 设置等待数据超时10秒
		HttpConnectionParams.setSocketBufferSize(httpParameters, 8192);
		HttpConnectionParams.setSoKeepalive(httpParameters, true);

		HttpClient httpClient = new DefaultHttpClient(httpParameters); // 此时构造DefaultHttpClient时将参数传入

		HttpPost post = new HttpPost(url);
		String s="";
		try {
			System.out.println("message :"+message);
			StringEntity entity = new StringEntity(message, ContentType.create(
					"plain/text", Consts.UTF_8));

			post.setEntity(entity);

			HttpResponse response = null;

			response = httpClient.execute(post);
			//System.out.println("getStatusCode :"+response.toString());
			if (response.getStatusLine().getStatusCode() == 200) {

			

				s = EntityUtils.toString(response.getEntity());

			} else {
			 

				s = EntityUtils.toString(response.getEntity());

			}
			//System.out.println("s :"+s);
		} catch (IllegalStateException e1) {
			// TODO Auto-generated catch block
			e1.printStackTrace();

		} catch (ClientProtocolException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			//e.printStackTrace();
		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		 
	    } catch ( Exception e) {
		// TODO Auto-generated catch block
	 	   e.printStackTrace();
	    }
		return s;
	}
	
	 
}
*/